<?php
class Model_Country extends Zend_Db_Table_Abstract {

    protected $_name = 'country';

    /**
     * Function to get fetch all country
     * @return array
     */
    public function fetchCountry() {
	$select = $this->select();
	$result = $this->fetchAll($select);
	$resultArray = Array();
	foreach($result as $_country) {
	    $resultArray[$_country['id']] = $_country['name'];
	}
	return $resultArray;
    }

}

?>